package net.dodoman.enums;

/**
 * 定义常量并且知道常量的描述
 * 
 * @author yanping
 * 
 */
public enum MessageInfoOtherWay {

	MI(1, "otherwayinfo1"), MIMORE(2, "otherwayinfo2");

	private int code;

	private String info;

	MessageInfoOtherWay(int code, String info) {
		this.code = code;
		this.info = info;
	}

	public int getCode() {
		return this.code;
	}

	public String getInfo() {
		return this.info;
	}

}
